package com.dfrz;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@ComponentScan(basePackages = {
        "com.dfrz.bean",
        "com.dfrz.service",
        "com.dfrz.controller",
        "com.dfrz.mapper",
        "com.dfrz.config"
})
@MapperScan(basePackages={
        "com.dfrz.mapper"
})
public class UserManagementApplication {

    public static void main(String[] args) {
        SpringApplication.run(UserManagementApplication.class, args);
    }
}
